package com.jzy.chatglmsdk18753goldn.model;

import com.jzy.chatglmsdk18753goldn.model.Qwen.QwenChatCompletionRequest;
import com.jzy.chatglmsdk18753goldn.model.GLM.GLMChatCompletionRequest;

public class ChatCompletionRequestFactory {
    public static ChatCompletionCommonRequest create(Model model) {
        switch (model){
            case GLM_45_FLASH:
                return GLMChatCompletionRequest.builder()
                        .model(model)
                        .stream(false)
                        .build();
            case Qwen3_Coder_Plus:
                return QwenChatCompletionRequest.builder()
                        .model(model)
                        .stream(false)
                        .build();
            case COGVIEW_3:
                return GLMChatCompletionRequest.builder()
                        .model(model)
                        .stream(false)
                        .build();
            case DeepSeek_V3:
//                return DeepSeekChatCompletionRequest.builder()
//                        .model(model)
//                        .stream(false)
//                        .build();

        }

        return ChatCompletionCommonRequest.builder()
                .model(model)
                .stream(false)
                .build();
    }
}
